﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NewsMine.Storage
{
    public interface IIndexStoreManager
    {
        void CreateIndexStore(string name);
        void CreateIndexStore<T>() where T : new();
        void DeleteIndexStore(string name);
        void DeleteIndexStore<T>() where T : new();
        IIndexStore<T> GetIndexStore<T>() where T : new();
        string GetIndexStoreFolderByName(string name);
        int GetItemCount(string name);
        int GetItemCount<T>() where T : new();
        string[] GetListOfIndexStores();
    }
}
